<!--
 * @Descripttion: 
 * @version: 
 * @Author: lsy
 * @Date: 2021-12-08 08:58:49
 * @LastEditors: lsy
 * @LastEditTime: 2021-12-17 13:41:57
-->
<template>
  <div id="app" :style="{ height: clientHeight + 'px' }">
    <router-view />
  </div>
</template>
<script>
export default {
  name: "App",
  data() {
    return {
      clientHeight: document.documentElement.clientHeight - 16,
    }
  },
  created() {
    window.onresize = () => {
      this.clientHeight = document.documentElement.clientHeight - 16;
    };
  }
}
</script>
